<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台模板</title>

<script type="text/javascript" src="/TP/Public/js/jquery-2.1.3.min.js"></script>

<link rel="stylesheet" href="/TP/Public/css/add.css" type="text/css" media="screen">
<link rel="stylesheet" href="/TP/Public/css/bootstrap.css" type="text/css" media="screen">

</head>
<body>
<h1></h1>
<div class="div_from_aoto" style="width: 500px;">
    <!-- <form action="<?php echo U('Home/User/doedit');?>"  method="post"> -->
    <form action="<?php echo U('Admin/Links/ad_links');?>" id="links_form"  method="post">
        <input type="hidden" name="status" value="1"/>

        <div class="control-group">
            <label class="laber_from">域名</label>
            <div class="controls"><input  class="input_from" name="linkname" value="" placeholder=" 请输入域名" type="text"><p class="help-block"></p></div>
        </div>

        <div class="control-group">
            <label class="laber_from">地址</label>
            <div class="controls"><input name="linkaddress" class="input_from" placeholder=" 请输入地址" type="text"><p class="help-block"></p></div>
        </div>
        <!-- <div class="control-group">
            <label class="laber_from">确认密码</label>
            <div class="controls"><input name="repwd" class="input_from" placeholder=" 请输入确认密码" type="text"><p class="help-block"></p></div>
        </div> -->

        <div class="control-group">
            <label class="laber_from">站长名</label>
            <div class="controls"><input name="linkman" value="" class="input_from" placeholder=" 请输入站长名" type="text"><p class="help-block"></p></div>
        </div>

        <div class="control-group">
            <label class="laber_from">邮箱</label>
            <div class="controls"><input name="email" value="" class="input_from" placeholder=" 请输入email" type="text"><p class="help-block"></p></div>
        </div>

        <div class="control-group">
            <div class="controls">
                <input type="submit" class"btn btn-info" width="100px"/>
                <input type="reset" value="清空" class="btn btn-info" width="100px"/>
            </div>
        </div>
    </form>
</div>

</body>
    <script>
         // //获取当前用户权限值
         // var status = <?php echo (session('admin_status')); ?>;
         // //判断当前用户是否为超管
         // window.onload = function(){
         //    if(status == 1){
         //        $('#admin_form div div input').attr('disabled',true);
         //    }
         // }
    </script>
</html>